package wox.lonice.web;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import wox.lonice.dto.Result;
import wox.lonice.service.reptile.ReptileService;

@Controller
public class WeController {

	@Autowired
	private ReptileService reptileService;
	
	@GetMapping("/reptile/get")
	@ResponseBody
	public Result list(){
		reptileService.timeGetPublic();

		reptileService.timeGetArticle();
		return new Result(true, "ok");
	}
}
